package net.hn.hnms.biz.intelligence.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 【智能分析】疑似睡岗
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CollectSuspectedSleepDutyVO {
    @ApiModelProperty("编码")
    private BigInteger mineCode;
    @ApiModelProperty("名称")
    private String     mineName;
    @ApiModelProperty("人员编码")
    private String    staffCode;
    @ApiModelProperty("人员名称")
    private String    staffName;
    @ApiModelProperty("入井时间")
    private String wellTime;
    @ApiModelProperty("开始时间")
    private String beginTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @ApiModelProperty("数据日期")
    private Date dataDate;
    @ApiModelProperty("部门")
    private String    departmentName;
    @ApiModelProperty("工种")
    private String    workType;
    @ApiModelProperty("发生次数")
    private BigInteger    sleepDutys;
    @ApiModelProperty("持续时间(秒)")
    private BigInteger duration;
    @ApiModelProperty("是否领导")
    private Integer isLeader;

    public CollectSuspectedSleepDutyVO(BigInteger mineCode, String mineName, String staffCode, String staffName
            , String wellTime, String beginTime, String endTime, Date dataDate
            , String departmentName, String workType) {
        this.mineCode = mineCode;
        this.mineName = mineName;
        this.staffCode = staffCode;
        this.staffName = staffName;
        this.wellTime = wellTime;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.dataDate = dataDate;
        this.departmentName = departmentName;
        this.workType = workType;
    }

    public CollectSuspectedSleepDutyVO(BigInteger mineCode, String mineName, BigInteger sleepDutys, Date dataDate) {
        this.mineCode = mineCode;
        this.mineName = mineName;
        this.sleepDutys = sleepDutys;
        this.dataDate = dataDate;
    }

}
